package com.cloud.xtools.common.response;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;

public class ApiResponse<T> extends ResponseEntity<ResponseBody<T>> {

    // 构造方法
    public ApiResponse(ResponseBody<T> body, HttpStatus httpStatus) {
        // 调用父类构造方法设置响应体和 HTTP 状态码
        super(body, httpStatus);
    }
}
